artifact
object artifact
Content copied to clipboard
Wrappers for @actions/artifact. Creates and uses one client.
Functions
downloadAllArtifacts
Link copied to clipboard
suspend fun downloadAllArtifacts(path: Path? = null): List<DownloadResponse>
Content copied to clipboard
suspend fun downloadAllArtifacts(path: String? = null): List<DownloadResponse>
Content copied to clipboard
downloadArtifact
Link copied to clipboard
suspend fun downloadArtifact(name: String, path: Path? = null, createArtifactFolder: Boolean = false): DownloadResponse
Content copied to clipboard
suspend fun downloadArtifact(name: String, path: String? = null, createArtifactFolder: Boolean = false): DownloadResponse
Content copied to clipboard
uploadArtifact
Link copied to clipboard
suspend fun uploadArtifact(name: String, files: List<Path>, rootDirectory: Path, continueOnError: Boolean = true, retentionDays: Int? = null): UploadResponse
Content copied to clipboard
suspend fun uploadArtifact(name: String, files: List<String>, rootDirectory: String, continueOnError: Boolean = true, retentionDays: Int? = null): UploadResponse
Content copied to clipboard
Sources
js source
Link copied to clipboard